package com.woniuxy.service.impl;

import com.woniuxy.entity.Perms;
import com.woniuxy.mapper.PermsMapper;
import com.woniuxy.service.PermsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class PermsServiceImpl implements PermsService {

    @Resource
    private PermsMapper permsMapper;

    @Override
    public List<Perms> findByUid(int uid) {
        return permsMapper.findByUid(uid);
    }
}
